home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 051-075 / scopedisk75 / ispell / src / makefile < prev    next >
Makefile  |  1995-03-19  |  723b  |  36 lines

  1. # -*- Mode: Text -*-
  2.  
  3. # the executable goes here
  4. BIN = c:
  5.  
  6. # this is where the dictionaries live
  7. ALIB = dict:
  8.  
  9. CFLAGS = +q +L -DAMIGA -DLIBDIR="$(ALIB)" -DTMPDIR="t:"
  10. LNFLAGS = 
  11. LIBS = -lcl32
  12.  
  13. all: buildhash ispell ispell.hash
  14.  
  15. ispell.hash: buildhash dict.191
  16.     buildhash
  17.  
  18. install: buildhash ispell ispell.hash
  19.     copy ispell $(BIN)
  20.     copy ispell.hash $(ALIB)
  21.  
  22. buildhash: buildhash.o hash.o
  23.     ln -o buildhash buildhash.o hash.o $(LIBS)
  24.  
  25. buildhash.o : buildhash.c
  26.     cc $(CFLAGS) -DBUILDHASH buildhash.c
  27.  
  28. ispell: ispell.o amiga.o good.o lookup.o hash.o tree.o
  29.     ln $(LNFLAGS) -o ispell ispell.o amiga.o good.o lookup.o \
  30.         hash.o tree.o $(LIBS)
  31.  
  32. clean:
  33.     delete #?.o
  34.     delete buildhash ispell 
  35.     delete ispell.hash stats.191 count.191
  36.